package com.thread.sync;

public class Test {

    public static void main(String[] args) {
        new Thread(() -> SynchronizedTest.mA()).start();
        new Thread(() -> SynchronizedTest.mB()).start();
        new Thread(() -> {
            SynchronizedTest test = new SynchronizedTest();
            test.mC();
        }).start();
        new Thread(() -> {
            SynchronizedTest test = new SynchronizedTest();
            test.mD();
        }).start();

        /*new Thread(() -> {
            SynchronizedTest.mF();
        }).start();
        new Thread(() -> {
            SynchronizedTest.mF();
        }).start();*/
    }

}
